//
//  DataBaseManager.h
//  ThePrivateKitchen
//
//  Created by lirui on 16/1/29.
//  Copyright © 2016年 www.lanou3g.com蓝鸥科技. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "FoodModel.h"

@interface DataBaseManager : NSObject

+(DataBaseManager *)shareInstance;

//打开数据库
-(void)openDB;
//创建表
-(void)createTable;
//删除表
-(void)dropTable;
//添加
-(void)insertfood:(FoodModel *)food;
//删除
-(void)deletename:(NSString *)dashes_name;
//修改
-(void)updateLanou:(FoodModel *)newl num:(NSInteger) num;
//查询
-(NSMutableArray *)select;



@end
